package com.quanyan.place.mapper;

import com.quanyan.place.entity.Cagetory;
import com.quanyan.place.entity.CagetoryExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface CagetoryMapper {
    int countByExample(CagetoryExample example);

    int deleteByExample(CagetoryExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(Cagetory record);

    int insertSelective(Cagetory record);

    List<Cagetory> selectByExample(CagetoryExample example);

    List<Cagetory> selectNameByExample(CagetoryExample example);

    Cagetory selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") Cagetory record, @Param("example") CagetoryExample example);

    int updateByExample(@Param("record") Cagetory record, @Param("example") CagetoryExample example);

    int updateByPrimaryKeySelective(Cagetory record);

    int updateByPrimaryKey(Cagetory record);
}